<style rel="stylesheet/scss" lang="scss" scoped>
</style>
<template>
  <div class="container-wrapper">
    <el-tabs type="card" v-model="activeTab">
      <el-tab-pane label="PGF" name="PGF">
        <file-doc category='1' ref="pgf"></file-doc>
      </el-tab-pane>
      <el-tab-pane label="QA Doc">
        <file-doc category='2' ref="qa"></file-doc>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import { mapGetters } from 'vuex'
  import EditRefresh from '@/components/Mixin/editRefresh.js';

  export default {
    name: 'ModelDetail',
    components: {
      'file-doc': () => import('./components/fileDoc')
    },
    mixins: [EditRefresh],
    data() {
      return {
        activeTab: 'PGF'
      }
    },
    computed: {
      ...mapGetters([
        'elements',
        'language',
        'dict'
      ])
    },
    created() {},
    activated() {
    },
    methods: {
      refresh() {
        this.activeTab = 'PGF'
        // this.$refs.pgf.refresh()
        // this.$refs.qa.refresh()
      }
    }
  };
</script>
